<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <#include "/header.html">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/bootstrap-table.min.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/plugins/treegrid/jquery.treegrid.css">
    <script src="${request.contextPath}/statics/libs/bootstrap-table.min.js"></script>
    <script src="${request.contextPath}/statics/plugins/treegrid/jquery.treegrid.min.js"></script>
    <script src="${request.contextPath}/statics/plugins/treegrid/jquery.treegrid.bootstrap3.js"></script>
    <script src="${request.contextPath}/statics/plugins/treegrid/jquery.treegrid.extension.js"></script>
    <script src="${request.contextPath}/statics/plugins/treegrid/tree.table.js"></script>

</head>
<body>
<div id="rrapp" v-cloak>
    <div class="row">
        <div class="col-md-2">
            <div id="schoolTree" class="ztree">

            </div>
        </div>
        <div class="col-md-10">
            <div v-show="showList">
                <div class="grid-btn">

                    <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>

                    <!--
                                <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>


                                <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>-->

                </div>
                


                <div style="text-align: center">{{school.name}}</div>
                <table id="jqGrid"></table>
                <!--<div id="jqGridPager"></div>-->
                </div>
            <div v-show="!showList" class="panel panel-default">
                <div class="panel-heading">{{title}}</div>
                <form class="form-horizontal">
                <div class="form-group">
                    <div class="col-sm-6 control-label">学校名称</div>
                    <div class="col-sm-6 control-label">
                        <div>{{school.id}}{{school.name}}</div>
                    </div>
                </div>

            <div class="form-group">
                    <div class="col-sm-6 control-label">年份</div>
                    <div class="col-sm-6">
                        <select v-model="lowscore.year" class="form-control">
                            <option  v-for="item in noHasSchoolYear" :value="item">{{item}}</option>
                        </select>
                    </div>
                </div>
            <div v-show="school.level !='专科'">
                    <div class="form-group">
                        <div class="col-sm-6 control-label">普通文科专业最低分</div>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" v-model="lowscore.putongwenke" placeholder="普通文科专业最低分"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-6 control-label">普通理科专业最低分</div>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" v-model="lowscore.putonglike" placeholder="普通理科专业最低分"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-6 control-label">校企合作文科专业最低分</div>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" v-model="lowscore.xiaoqihezuowenke" placeholder="校企合作文科专业最低分"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-6 control-label">校企合作理科专业最低分</div>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" v-model="lowscore.xiaoqihezuolike" placeholder="校企合作理科专业最低分"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-6 control-label">3+2连读文科专业最低分</div>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" v-model="lowscore.lianduwenke" placeholder="3+2连读文科专业最低分"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-6 control-label">3+2连读理科专业最低分</div>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" v-model="lowscore.liandulike" placeholder="3+2连读理科专业最低分"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-6 control-label">中外合作办学文科最低分</div>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" v-model="lowscore.zhongwaihezuowenke" placeholder="中外合作办学文科最低分"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-6 control-label">中外合作办学理科最低分</div>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" v-model="lowscore.zhongwaihezuolike" placeholder="中外合作办学理科最低分"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-6 control-label">艺术文科最低分</div>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" v-model="lowscore.yishuwenke" placeholder="艺术文科最低分"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-6 control-label">艺术理科最低分</div>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" v-model="lowscore.yishulike" placeholder="艺术理科最低分"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-6 control-label">春考文科</div>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" v-model="lowscore.chunkaowenke" placeholder="春考文科"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-6 control-label">春考理科</div>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" v-model="lowscore.chunkaolike" placeholder="春考理科"/>
                        </div>
                    </div>
                    </div>
            <div v-show="school.level !='本科'">

                <div class="form-group">
                    <div class="col-sm-6 control-label">专科普通文科专业最低分</div>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" v-model="lowscore.zhuankeputongwenke" placeholder="普通文科专业最低分"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6 control-label">专科普通理科专业最低分</div>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" v-model="lowscore.zhuankeputonglike" placeholder="普通理科专业最低分"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6 control-label">专科校企合作文科专业最低分</div>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" v-model="lowscore.zhuankexiaoqiwenke" placeholder="校企合作文科专业最低分"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6 control-label">专科校企合作理科专业最低分</div>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" v-model="lowscore.zhuankexiaoqilike" placeholder="校企合作理科专业最低分"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6 control-label">专科3+2连读文科专业最低分</div>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" v-model="lowscore.zhuankelianduwenke" placeholder="3+2连读文科专业最低分"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6 control-label">专科3+2连读理科专业最低分</div>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" v-model="lowscore.zhuankeliandulike" placeholder="3+2连读理科专业最低分"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6 control-label">专科中外合作办学文科最低分</div>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" v-model="lowscore.zhuankezhongwaihezuowenke" placeholder="中外合作办学文科最低分"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6 control-label">专科中外合作办学理科最低分</div>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" v-model="lowscore.zhuankezhongwaihezuolike" placeholder="中外合作办学理科最低分"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6 control-label">专科艺术文科最低分</div>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" v-model="lowscore.zhuankeyishuwenke" placeholder="艺术文科最低分"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6 control-label">专科艺术理科最低分</div>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" v-model="lowscore.zhuankeyishulike" placeholder="艺术理科最低分"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6 control-label">专科春考文科</div>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" v-model="lowscore.zhuankechunkaowenke" placeholder="春考文科"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-6 control-label">专科春考理科</div>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" v-model="lowscore.zhuankechunkaolike" placeholder="春考理科"/>
                    </div>
                </div>
            </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label"></div>
                        <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                        &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
                    </div>

                </form>
            </div>


            </div>
        </div>


    </div>

</div>
</body>
<script src="${request.contextPath}/statics/js/modules/school/schoolYearScore.js"></script>
</html>